$OpenBSD: patch-qtbase_src_widgets_styles_qgtk2painter_cpp,v 1.2 2015/04/19 13:18:28 zhuk Exp $
Fix Qt5 in situation GTK+ shared library version is overridden.
--- qtbase/src/widgets/styles/qgtk2painter.cpp.ports.orig	Tue Feb 17 07:56:39 2015
+++ qtbase/src/widgets/styles/qgtk2painter.cpp	Wed Apr  8 00:38:30 2015
@@ -95,8 +95,7 @@ static void initGtk()
 {
     static bool initialized = false;
     if (!initialized) {
-        // enforce the "0" suffix, so we'll open libgtk-x11-2.0.so.0
-        QLibrary libgtk(QLS("gtk-x11-2.0"), 0, 0);
+        QLibrary libgtk(QLS("gtk-x11-2.0"));
 
         QGtk2PainterPrivate::gdk_pixmap_new = (Ptr_gdk_pixmap_new)libgtk.resolve("gdk_pixmap_new");
         QGtk2PainterPrivate::gdk_pixbuf_get_from_drawable = (Ptr_gdk_pixbuf_get_from_drawable)libgtk.resolve("gdk_pixbuf_get_from_drawable");
